package com.unidt.www.module.expert.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @Author sk
 * @Description:
 * @Date 2022/12/9 13:51
 **/
@Data
public class ExpertImportResult {

    @ApiModelProperty(name = "总共条数")
    Integer totalCount;

    @ApiModelProperty(name = "成功录入条数")
    Integer successCount;

    @ApiModelProperty(name = "失败条数")
    Integer failCount;

    @ApiModelProperty(name = "失败信息列表")
    List<ExpertImportErrorVo> errorList;

    public ExpertImportResult() {
    }

    public ExpertImportResult(Integer totalCount, Integer successCount, Integer failCount) {
        this.totalCount = totalCount;
        this.successCount = successCount;
        this.failCount = failCount;
    }
}
